package com.haiwen.boot.mapper;

import com.haiwen.boot.pojo.Poetry;

public interface PoetryMapper {
    int deleteByPrimaryKey(Integer poId);

    int insert(Poetry record);

    int insertSelective(Poetry record);

    Poetry selectByPrimaryKey(Integer poId);

    int updateByPrimaryKeySelective(Poetry record);

    int updateByPrimaryKeyWithBLOBs(Poetry record);

    //随机查询一条数据
    Poetry randomPoetry();
}
